#include"comm.hpp"
int main()
{
    int shmid = GetShm();
    char* shmaddr = (char*)shmat(shmid, nullptr, 0);
    while(true)
    {
        // char buff[1024];
        // cout << "Please Enter@ ";
        // fgets(buff, sizeof(buff), stdin);
        // memcpy(shmaddr, buff, sizeof(buff));
        cout << "Please Enter@ ";
        fgets(shmaddr, 4096, stdin);
    }

    shmdt(shmaddr);
    return 0;
}